<template>
	<div>home
	<el-button type="primary" @click="next()">点我</el-button></div>
	
</template>

<script>
	export default{
		methods:{
			next(){
				this.$http.headers.common['token'] = '123'
				this.$http.get('next').then(data=>{
					console.log(data.status)
					if(data.status === 200){
						console.log(data)
				    // this.$router.replace({ name: 'next' })
					}
			})
			}
			}
}
</script>

<style>
</style>
